[INFO] cloning repository https://github.com/drakeor/rust-neural-net
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drakeor/rust-neural-net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakeor%2Frust-neural-net", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakeor%2Frust-neural-net'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d6ac4a97deb7595a5aff9b75e00b8fa0dc2bdad8
[INFO] checking drakeor/rust-neural-net against master#09a371361240e42b0d69438fd1179efcf212e576 for pr-157814-crater-rollup
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrakeor%2Frust-neural-net" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/drakeor/rust-neural-net
[INFO] finished tweaking git repo https://github.com/drakeor/rust-neural-net
[INFO] tweaked toml for git repo https://github.com/drakeor/rust-neural-net written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/drakeor/rust-neural-net on toolchain 09a371361240e42b0d69438fd1179efcf212e576
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/drakeor/rust-neural-net already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust_neuralnet` (manifest) generated 1 warning
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-traits v0.2.4
[INFO] [stderr]   Downloaded num-integer v0.1.38
[INFO] [stderr]   Downloaded matrixmultiply v0.1.14
[INFO] [stderr]   Downloaded rulinalg v0.4.2
[INFO] [stderr]   Downloaded rand_core v0.2.0
[INFO] [stderr]   Downloaded rand v0.5.0
[INFO] [stderr]   Downloaded libc v0.2.41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7dc6035a1b46a3d6baf1333954285757aaeb0a61fc3396552bf96d3cb6a9d672
[INFO] running `Command { std: "docker" "start" "7dc6035a1b46a3d6baf1333954285757aaeb0a61fc3396552bf96d3cb6a9d672", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7dc6035a1b46a3d6baf1333954285757aaeb0a61fc3396552bf96d3cb6a9d672" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7dc6035a1b46a3d6baf1333954285757aaeb0a61fc3396552bf96d3cb6a9d672", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7dc6035a1b46a3d6baf1333954285757aaeb0a61fc3396552bf96d3cb6a9d672" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `rust_neuralnet` (manifest) generated 1 warning
[INFO] [stderr]    Compiling num-traits v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.38
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling matrixmultiply v0.1.14
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]     Checking rand_core v0.2.0
[INFO] [stderr]     Checking libc v0.2.41
[INFO] [stderr]     Checking rand v0.5.0
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking rulinalg v0.4.2
[INFO] [stderr]     Checking rust_neuralnet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `inputLayerSize`, `outputLayerSize`, and `hiddenLayerSize` are never read
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct NeuralNetwork {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 10 |     inputLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     outputLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     hiddenLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `inputLayerSize` should have a snake case name
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     inputLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_layer_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `outputLayerSize` should have a snake case name
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     outputLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `output_layer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `hiddenLayerSize` should have a snake case name
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     hiddenLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `hidden_layer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `costFunctionPrime` should have a snake case name
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn costFunctionPrime(&mut self, X : Matrix<f32>, y : Matrix<f32>) -> (Matrix<f32>, Matrix<f32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cost_function_prime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]   --> src/main.rs:45:41
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn costFunctionPrime(&mut self, X : Matrix<f32>, y : Matrix<f32>) -> (Matrix<f32>, Matrix<f32>) {
[INFO] [stdout]    |                                         ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `yHat` should have a snake case name
[INFO] [stdout]   --> src/main.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let yHat = self.forward(X.clone());
[INFO] [stdout]    |             ^^^^ help: convert the identifier to snake case: `y_hat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let X = Matrix::new(3, 2, vec![
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `inputLayerSize`, `outputLayerSize`, and `hiddenLayerSize` are never read
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct NeuralNetwork {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 10 |     inputLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     outputLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     hiddenLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `inputLayerSize` should have a snake case name
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     inputLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_layer_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `outputLayerSize` should have a snake case name
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     outputLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `output_layer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `hiddenLayerSize` should have a snake case name
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     hiddenLayerSize : i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `hidden_layer_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `costFunctionPrime` should have a snake case name
[INFO] [stdout]   --> src/main.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn costFunctionPrime(&mut self, X : Matrix<f32>, y : Matrix<f32>) -> (Matrix<f32>, Matrix<f32>) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `cost_function_prime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]   --> src/main.rs:45:41
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn costFunctionPrime(&mut self, X : Matrix<f32>, y : Matrix<f32>) -> (Matrix<f32>, Matrix<f32>) {
[INFO] [stdout]    |                                         ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `yHat` should have a snake case name
[INFO] [stdout]   --> src/main.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let yHat = self.forward(X.clone());
[INFO] [stdout]    |             ^^^^ help: convert the identifier to snake case: `y_hat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `X` should have a snake case name
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let X = Matrix::new(3, 2, vec![
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.46s
[INFO] running `Command { std: "docker" "inspect" "7dc6035a1b46a3d6baf1333954285757aaeb0a61fc3396552bf96d3cb6a9d672", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7dc6035a1b46a3d6baf1333954285757aaeb0a61fc3396552bf96d3cb6a9d672", kill_on_drop: false }`
[INFO] [stdout] 7dc6035a1b46a3d6baf1333954285757aaeb0a61fc3396552bf96d3cb6a9d672
